package com.singfee.gisservice.service;

import com.singfee.gisservice.entity.*;
import org.apache.ibatis.annotations.Select;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface IPostGISServer {
    String getFeatureList(String layerName,String filter);

    List<Map> getFeatureInfo(String layerName,String filter);

    HashMap<String,String> identify(String[] layerName, Ewkt point,String filterField);

    String selectByPolygon(String layerName,Ewkt ewkt, MyList property);

    String selectGeometryById(String layerName,Integer id);

    String clipByPolygonWithProperties(String layerName,MyList properties,Ewkt ewkt);

    List<Map> TotalArea(String layerName, Ewkt ewkt,MyList property);

    boolean addFeature(String layerName, Ewkt ewkt);
}
